Skip to main content

All Questions

Tagged with
0votes
1answer
305views

ABRT complains about failure of /usr/sbin/setroubleshootd

On a CentOS 7 machine, I get: ABRT has detected 1 problem(s). For more info run: abrt-cli list --since 1641301975 [root@my_machine ~]# abrt-cli list --since 1641301975 id ...
einpoklum's user avatar
1vote
0answers
260views

Identify empty VALUE in XML files and return exit command? [closed]

For instance, I have an XML file with the below content and the "NAME" Author and Assignee(s) have empty "VALUE". The main aim is to implement a check that can be applied to find ...
Vdgoa's user avatar
3votes
5answers
17kviews

How to get particular string in xml using python or perl etc

from here i need to get (username) "pelech" alone this is just example in my xml file i have 1000 users. <user> <login>pelech</login> <password>passwords are saved ...
Ravi's user avatar
0votes
1answer
5kviews

How to extract data from XML File

I am trying to move our Pre-existing PRTG setup to a Nagios setup. The problem is that we currently have over 20k monitors, and so i'm trying to export the sensor information out of the .dat file and ...
Temple Pate's user avatar
1vote
0answers
801views

How to generate a nmap HTML report with python?

Given an .xml output file from a nmap scan, how would you suggest to generate an html report from this file? nmap proposes the following utility with shell (reference): xsltproc xsltproc <nmap-...
user123456's user avatar
0votes
1answer
325views

Create Multiple libvirt Volumes From One XML File

I'm using libvirt's virsh vol-create command to create multiple volumes. I've started using Jinja2 templates to help with automating the task for a specific application. In my case, it would help ...
Dave's user avatar
  • 343
7votes
1answer
11kviews

How to fix "cannot find -lxml2" error while installing 'igraph' for python?

On Ubuntu 15.04 I am trying to install 'igraph' using the following command: pip install python-igraph in order to, well, use the igraph package in python to work with graphs and stuff. However, the ...
Alex's user avatar
  • 5,828
4votes
1answer
5kviews

Convert xml subtitle file to srt format

I have a xml subtitle that looks like this: <?xml version="1.0" encoding="utf-8" ?><transcript> <Item from="1.16" duration="4.68"><![CDATA[(Dong-hyuk is coming to see you now.) ...
aws's user avatar
  • 41
0votes
1answer
2kviews

python xml parsing

I have to delete particular tags from an xml file. Sample xml below. <data> <tag:action/> </data> I want to delete all contents between data and /data. The ...
Akhitha's user avatar
4votes
3answers
12kviews

Delete XML node containing certain element

I want to remove all Placemarks from a KML file that contain the element <tessellate>. The following block should be wholly removed: <Placemark> <styleUrl>#m_ylw-pushpin330</...
admirabilis's user avatar

close